package com.lineage.server.serverpackets;

public class S_HouseMap extends ServerBasePacket {
  private byte[] _byte;
  
  public S_HouseMap(int objectId, String house_number) {
    this._byte = null;
    buildPacket(objectId, house_number);
  }
  
  private void buildPacket(int objectId, String house_number) {
    int number = Integer.valueOf(house_number).intValue();
    writeC(187);
    writeD(objectId);
    writeD(number);
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
